package com.dongdongshop.service;

import com.dongdongshop.page.PageBean;
import com.dongdongshop.pojo.TbSpecification;
import com.dongdongshop.pojo.TbSpecificationOption;
import com.dongdongshop.vo.SpecVO;

import java.util.List;

public interface SpecificationService {

    PageBean<TbSpecification> getAll(Integer pageNum,Integer pageSize,String name);


    Integer saveSpecAndOptions(TbSpecification specification, List<TbSpecificationOption> list);

    int deleteCheck(Long[] ids);

    SpecVO toupdate(Long id);

    Integer update(SpecVO specVO);

    List<TbSpecification> getAll1();
}
